package com.yangmi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan(basePackages = "com.yangmi.watch.dao")
@EnableDiscoveryClient
@EnableFeignClients //启用Feign框架
public class YangmiWatchApplication {

    public static void main(String[] args) {
        SpringApplication.run(YangmiWatchApplication.class, args);
    }

}
